<template>
    <div class="home">
        <div class="content">
            <PageDome54sub title="热门游戏列表">
                <ul>
                    <li v-for="g in games" :key="g.id"> {{ g.name }}</li>
                </ul>
            </PageDome54sub>
            <PageDome54sub title="今日美食城市">
                <img :src="imgUrl" alt="" />
            </PageDome54sub>
            <PageDome54sub title="今日影视推荐">
                <video :src="videUrl" ></video>
            </PageDome54sub>
        </div>
    </div>
</template>


<script setup lang="ts" name="Page54">
import { ref } from 'vue';
import PageDome54sub from './page/PageDome54sub.vue';

let games = ref([
    { id: '100001', name: '测试1' },
    { id: '100002', name: '测试2' },
    { id: '100003', name: '测试3' },
    { id: '100004', name: '测试4' }
])
let imgUrl = 'https://z1.ax1x.com/2023/11/19/piNxLo4.jpg'
let videUrl="D:/迅雷下载/莎拉的钥匙.rmvb"

</script>

<style lang="scss" scoped>
.home {
    background-color: rgb(164, 164, 164, 654);
    padding: 20px;
    border-radius: 10px;
}

.content {
    display: flex;
    justify-content: space-evenly;
}
img,video {
    width: 100%;
}
</style>